<?php


namespace common\helper;


class ToolHelper
{
    public static function isWechat()
    {
        if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'micromessenger') !== false) {
            return true;
        }
        return false;
    }
}